package yaq.mini.weibo.leafwb.pojo;

import java.io.Serializable;

public class Comment implements Serializable {

    private String commentId;
    private String articleId;
    private String userId;//评论者
    private String commentTime;
    private String content;
    private User commentUser;//评论者
    private Article article;

    public Comment() {

    }

    public Comment(String commentId, String articleId, String userId, String commentTime, String content) {
        this.commentId = commentId;
        this.articleId = articleId;
        this.userId = userId;
        this.commentTime = commentTime;
        this.content = content;
    }

    public String getCommentId() {
        return commentId;
    }

    public void setCommentId(String commentId) {
        this.commentId = commentId;
    }


    public String getArticleId() {
        return articleId;
    }

    public void setArticleId(String articleId) {
        this.articleId = articleId;
    }


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }


    public String getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(String commentTime) {
        this.commentTime = commentTime;
    }


    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public User getCommentUser() {
        return commentUser;
    }

    public void setCommentUser(User commentUser) {
        this.commentUser = commentUser;
    }

    public Article getArticle() {
        return article;
    }

    public void setArticle(Article article) {
        this.article = article;
    }

}
